NuclearEngagement\Core\BaseController S

Total Complexity 29
Dependencies 4
Dependents 0
Total lines 363
Lines of code 182
Logical lines of code 57
Comment lines 127
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
require_post_param()
S
48 5 38
validate_request()
S
58 3 17
execute_action()
S
56 2 20
log_action()
S
56 2 19
validate_post_data()
S
63 2 12
send_error()
S
58 1 20
verify_nonce()
S
67 2 7
get_post_int()
S
70 2 6
get_post_string()
S
69 2 6
get_post_array()
S
69 2 6
send_success()
S
64 1 11
get_request_context()
S
63 1 11
__construct()
S
80 1 3
get_controller_name()
S
100 1 0
is_rate_limited()
S
82 1 3
check_capability()
S
79 1 3